#ifndef M_STUDENTMANAGE_H
#define M_STUDENTMANAGE_H

#include <QDialog>
#include <QSqlQueryModel>
#include <QMessageBox>
#include <QSqlQuery>
#include "m_studentupdate.h"

namespace Ui {
class M_studentManage;
}

class M_studentManage : public QDialog
{
    Q_OBJECT

public:
    explicit M_studentManage(QWidget *parent = nullptr);
    ~M_studentManage();

    void querytable();


private slots:

    void on_insertBtn_clicked();//插入

    void on_updateBtn_clicked();//更新

    void on_deleteBtn_clicked();//删除


private:
    Ui::M_studentManage *ui;
    QSqlQueryModel model;
    //m_studentUpdate *_interface=new m_studentUpdate();
};

#endif // M_STUDENTMANAGE_H
